home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1995 March / PC Plus Super CD (Issue 101) (March 1995).iso / tclite / include / seqcltn.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-27  |  777 b   |  27 lines

  1. #ifndef    SEQCLTN_H
  2. #define    SEQCLTN_H
  3.  
  4. #include "collect.h"
  5. extern const Class class_SeqCltn;
  6.  
  7. class SeqCltn: public Collection {
  8. protected:
  9.     SeqCltn() {}
  10.     void indexRangeErr() const;
  11. public:
  12.     virtual void atAllPut(const Object& ob);
  13.     virtual void deepenShallowCopy();
  14.     virtual Object* doNext(Iterator&) const;
  15.     virtual Object* first() const;
  16.     virtual const Class* isA() const;
  17.     virtual int indexOf(const Object& ob) const;
  18.     virtual int indexOfSubCollection(const SeqCltn& cltn,
  19.                                      int start=0) const;
  20.     virtual Object* last() const;
  21.     virtual void replaceFrom(int start, int stop,
  22.                              const SeqCltn& replacement,
  23.                              int startAt =0);
  24. };
  25.  
  26. #endif
  27.